package cn.wolfcode.luowowo.flight.service.impl;

import cn.wolfcode.luowowo.flight.domain.Flight;
import cn.wolfcode.luowowo.flight.mapper.FlightMapper;
import cn.wolfcode.luowowo.service.IFlightService;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service
public class FlightServiceImpl implements IFlightService {
    @Autowired
    private FlightMapper flightMapper;

    @Override
    public List<Flight> listIsHot() {
        return flightMapper.selectIsHot();
    }

    @Override
    public List<Flight> listLetterAtoE() {
        return flightMapper.listLetterAtoE();
    }

    @Override
    public List<Flight> listLetterFtoJ() {
        return flightMapper.listLetterFtoJ();
    }

    @Override
    public List<Flight> listLetterKtoP() {
        return flightMapper.listLetterKtoP();
    }

    @Override
    public List<Flight> listLetterQtoW() {
        return flightMapper.listLetterQtoW();
    }

    @Override
    public List<Flight> listLetterXtoZ() {
        return flightMapper.listLetterXtoZ();
    }
}
